package com.nit.lab.service.system;

import com.nit.lab.dto.system.SchoolDTO;
import com.nit.lab.dto.utils.TableReqDTO;
import com.nit.lab.dto.utils.TableRspDTO;

import java.util.List;

public interface SchoolService {

    /**
     * @Description: 获取表格数据
     * @Author: SN
     * @Date: 2019/01/31 11:02
     */
    TableRspDTO list4Table(TableReqDTO tableReqDTO) throws Exception;

    /**
     * @Description: 新增记录
     * @Author: SN
     * @Date: 2019/01/31 11:02
     */
    Integer add(SchoolDTO schoolDTO) throws Exception;

    /**
     * @Description: 更新记录
     * @Author: SN
     * @Date: 2019/01/31 11:02
     */
    Integer update(SchoolDTO schoolDTO) throws Exception;

    /**
     * @Description: 删除记录
     * @Author: SN
     * @Date: 2019/01/31 11:02
     */
    Integer remove(String schoolIds) throws Exception;

    /**
     * @Description: 查询学校list
     * @Author: zxq
     * @Date: 2020/8/20
     */
    List<SchoolDTO> listSchool() throws Exception;
}
